﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class FangJia_BLL
    {
        public FangJia_BLL(FangJia_DAL dal)
        {
            Dal = dal;
        }

        public FangJia_DAL Dal { get; }

        /// <summary>
        /// 房价列表
        /// </summary>
        /// <param name="index"></param>
        /// <param name="size"></param>
        /// <param name="SX"></param>
        /// <param name="Count"></param>
        /// <param name="Count2"></param>
        /// <returns></returns>
        public List<FangJia_Model> FJShow(int index, int size, int SX, out int Count, out int Count2)
        {
            return Dal.FJShow(index, size, SX, out Count, out Count2);
        }

        /// <summary>
        /// 修改状态
        /// </summary>
        /// <param name="MDid"></param>
        /// <param name="MDZT"></param>
        /// <returns></returns>
        public int FJXZT(int FJId, int FJZT)
        {
           return Dal.FJXZT(FJId, FJZT);
        }


    }
}
